Distributed data processing system and error analysis information saving method appropriate therefor

ABSTRACT

A computer network comprising a monitoring apparatus and a plurality of servers, wherein the servers respectively have a plurality of software programs, and a data file for storing error analysis information to be utilized for analysis of the cause of an error upon occurrence of error, for each software program. Further, the servers respectively have a function to transmit an error notifying message including a software identifier of a software program executed upon occurrence of error to the monitoring apparatus. The monitoring terminal apparatus has a function to instruct at least one server, specified based on the software identifier included in the error notifying message, to save error analysis information, in response to the error notifying message received from any one of the servers.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to a technique of saving error analysis information upon occurrence of error, and more particularly, to a method of saving software error analysis information appropriate for a distributed data processing system comprising a plurality of servers, and a saving system for saving error analysis information.

[0003] 2. Description of the Related Art

[0004] A group of software products (programs), which run on a distributed data processing system comprising a plurality of servers, realize large-scale system operation by execution of data processing by the plurality of servers in cooperation with each other, as well as local data processing within each server. In this distributed data processing system, if a software error occurs in one server when data processing is performed, error analysis information of the server is occasionally insufficient to find the cause of the error. Further, since almost all the error analysis information necessary for investigation into the cause of error such as trace information of a software product is managed by a wrap around function, if saving of error analysis information into a saving file is delayed, the important information may be lost.

[0005] Generally, when a system error including a software bug occurs, an error alarm message notifying the occurrence of error is displayed on a monitoring terminal apparatus. Conventionally, when an error alarm message is displayed on the display of the monitoring terminal, an operator of the monitoring terminal notifies a system administrator (otherwise, a manufacturer or the like) of the occurrence of error. Then, the system administrator checks the content of the error and the server where the error has occurred (hereinafter, referred to as a “troubled server”), and starts to collect error analysis information necessary for investigation into the cause of the error.

[0006] If an error occurs when data processing is performed by a plurality of servers in cooperation with each other, it is necessary to collect error analysis information from not only the troubled server but also the other servers than the troubled server. In this case, it is necessary to specify servers from which error analysis information is to be collected, and instruct these servers to quickly save error analysis information or transfer the information to the monitoring terminal apparatus.

[0007] As a conventional technique for collecting log data from a plurality of computers, Japanese Published Unexamined Patent Application No. Hei 5-250229, for resolving the problem of an increase in load caused by automatic log-data transmission request to all the computers, proposes to analyze log data transmitted from respective computers, and to require a computer, in which an error has been found in its log data, to transmit log data next time, while not to require transmission of log data of a computer, in which no log data error has been found, so as to reduce log-data transmission load on normally-operating computer. However, in the above conventional art, as the other computers in cooperation with the troubled computer are excused from the next log-data transmission as long as these computers normally perform data processing, the conventional art cannot be applied to the distributed data processing system requiring error analysis information also from normal computers.

[0008] In the conventional method of collecting error analysis information, upon occurrence of system error, a specific server is instructed to save its error analysis information by judgment of an operator of a monitoring terminal apparatus or a system administrator. As the analysis information saving is made based on the judgment and instructive operation from the monitoring terminal by an operator or a system administrator, it takes much time to save and collect the error analysis information, which might lose important information.

SUMMARY OF THE INVENTION

[0009] Accordingly, an object of the present invention is to provide an error analysis information saving method which automatically saves error analysis information without the judgment and terminal operation by an operator or a system administrator.

[0010] Further, another object of the present invention is to provide an error analysis information saving method which automatically saves error analysis information of a server when an error is detected in the server, and further saves error analysis information of other servers related to the error.

[0011] Further, another object of the present invention is to provide a distributed data processing system and a computer network which automatically and quickly save error analysis information stored in a plurality of servers when an error is detected in one of the servers.

[0012] Further, another object of the present invention is to provide a monitoring terminal apparatus which, when an error is detected in one server, automatically specifies error analysis information of other servers related to the error, and instructs a plurality of servers to save error analysis information.

[0013] The foregoing objects are attained by providing a computer network having a monitoring apparatus, comprising: a plurality of servers connected to the monitoring apparatus via a communication network; wherein the plurality of servers respectively have a plurality of software programs, and have a data file for storing error analysis information to be utilized for investigation into a cause of an error upon occurrence of the error, for each software program, and means for transmitting an error notifying message, including an identifier of a software program executed when the error has occurred, to the monitoring apparatus; and wherein the monitoring apparatus has means for instructing at least one server, specified based on the software identifier included in the error notifying message, to save the error analysis information, in response to one error notifying message received from any one of the servers.

[0014] Further, the foregoing objects are attained by providing a distributed data processing system comprising: a plurality of servers respectively having a function to execute data processing in cooperation with each other via a communication network; and a monitoring terminal apparatus connected to the communication network, wherein the monitoring terminal apparatus has a management table containing a plurality of data records, each having an index code including a software identifier and at least one set of resource definition data defining resources related to saving operation of error analysis information, and wherein when the monitoring terminal apparatus receives an error notifying message including the software identifier from any one of the servers, the monitoring terminal apparatus instructs a server, defined by a data record corresponding to the software identifier as one of the resources, to save the error analysis information.

[0015] More specifically, each data record in the management table includes at least one set of resource definition data defining a server to perform saving operation on error analysis information, a data file including the error analysis information and an output file where the error analysis information is saved, and the monitoring terminal apparatus designates the data file and the output file defined by the resource definition data, and instructs the server to save the error analysis information.

[0016] According to a preferred embodiment of the present invention, at least one of the data records stored in the management table includes plural sets of resource definition data corresponding to one index code, and the monitoring terminal apparatus instructs a plurality of servers, defined by the plural sets of resource definition data, to save the error analysis information, in response to reception of one error notifying message.

[0017] Further, according to the preferred embodiment of the present invention, the index code of each data record stored in the management table includes an additional code accompanying the software identifier, indicative of error type, and the error notifying message transmitted from the server has a message identifier including the software identifier and the additional code indicative of the type of an error detected in the server, further, when the monitoring terminal apparatus receives an error notifying message from any one of the servers, the monitoring terminal apparatus searches the management table based on the message identifier of the received message, and instructs saving of the error analysis information if it is determined that a specific type of error has occurred in a specific software program designated in advance in the management table.

[0018] In accordance with the present invention, provided is a monitoring terminal apparatus connected to a plurality of servers via a communication network, comprising: a management table containing plural sets of resource definition data defining resources related to saving operation of error analysis information corresponding to a plurality of index codes each including a software identifier of a software program executed on each of the servers; means for, when an error notifying message including the software identifier is received from any one of the servers, searching the management table for at least one set of resource definition data corresponding to the software identifier included in the error notifying message; and means for transmitting a control message instructing to save the error analysis information to a server defined by the searched resource definition data as one of the resources.

[0019] Further, in accordance with the present invention, provided is an error analysis information saving method in a distributed data processing system comprising a plurality of servers which perform data processing in cooperation with each other via a communication network and a monitoring terminal apparatus connected to the communication network, wherein the monitoring terminal apparatus has a management table for storing a plurality of data records each comprising a software identifier of a software program and at least one set of resource definition data defining resources related to saving operation of error analysis information, the method comprising the steps of: transmitting an error notifying message including the software identifier of a software being executed, from one of the plurality of servers where a software error has been detected during data processing, to the monitoring terminal apparatus; upon reception of the error notifying message, referring to data record corresponding to the software identifier of the error notifying message stored in the management table, by the monitoring terminal apparatus; instructing a server, defined by the referred data record as one of the resources, to save the error analysis information, from the monitoring terminal apparatus; and performing saving operation on the error analysis information by the server instructed to save the information.

[0020] More specifically, the saving instruction to save the error analysis information is made by designating a source file and an output file defined by the data record as one of the resources, and instructing the server to save the error analysis information, in response to reception of the error notifying message, by the monitoring terminal apparatus. In the preferred embodiment of the present invention, the monitoring terminal apparatus refers to a plurality of data records corresponding to the software identifier of the error notifying message stored in the management table, in response to reception of the error notifying message, and instructs a plurality of servers, defined by the referred plural data records, to save the error analysis information.

[0021] Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same name or similar parts throughout the figures thereof.

BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0023]FIG. 1 is a block diagram showing the configuration of a distributed data processing system to which the present invention is applied;

[0024]FIG. 2 is a table explaining software in a monitoring terminal 11;

[0025]FIG. 3 is a table explaining software in a server 12;

[0026]FIG. 4 is a table showing the format of a message transmitted from the server to the monitoring terminal;

[0027]FIG. 5 is a table showing the structure of an error notifying message management table of the monitoring terminal 11;

[0028]FIG. 6 is a flowchart showing an error notifying message processing program 23 executed by the monitoring terminal; and

[0029]FIG. 7 is a flowchart showing an error analysis information saving program 43 executed by the server.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0030]FIG. 1 shows an example of computer network configuring a distributed data processing system according to the present invention.

[0031] The distributed data processing system comprises a monitoring terminal 11, a plurality of servers 12 (12A to 12D) and a plurality of user terminals 13 connected via a communication network to each other. In the present embodiment, the monitoring terminal 11 is connected to a LAN-1, and the servers 12A to 12D are connected to LAN-2 to LAN-n. These LAN's are interconnected via a wide area network (WAN) 14. Note that the respective LAN-1 to LAN-n include a plurality of user terminals 13 to utilize the servers 12, however, for the simplification of explanation, FIG. 1 only shows one terminal connected to the LAN-2.

[0032] The monitoring terminal 11 has a data file 51 for storing an error notifying message management table 30 to be described later, a display 52 and an input device 53. Further, as shown in FIG. 2, the monitoring terminal 11 has a program memory 110 (omitted in FIG. 1) for storing a notification general management control program (control program) 21 for controlling the overall monitoring terminal, a message receiving program 22 for receiving messages from the respective servers, an error notifying message processing program 23 for discriminating an error notifying message from the received messages and instructing the corresponding server to save error analysis information, and various application programs 24.

[0033] On the other hand, the servers 12 (12A to 12D) respectively have a data file 55 and a saving file 56 for saving the error analysis information, as typically shown in the server 12A. Further, as shown in FIG. 3, the servers 12 have a program memory 120 (omitted in FIG. 1) as another element, for storing distributed processing software 41, a SYSLOG message transmission program 42, an error analysis information saving program 43 and other application programs 44. The distributed processing software 41 includes a plurality of programs for transaction management, data base control, batch processing and the like.

[0034] The respective servers 12 perform data processing in response to user's operation from the user terminal 13, in cooperation with each other by interactively transmitting/receiving messages if necessary, in accordance with the distributed processing software 41. Note that the respective servers 12 which operate as the distributed processing system in cooperation with each other, also operate as local data processing systems to independently perform the application programs 44. Further, the monitoring terminal 11 which performs the monitoring function also operates as a local data processing system by performing application programs.

[0035] In the respective servers 12, various data generated by execution of the distributed processing software 41 are stored in the data file 55. In addition, trace information generated at a significant point in data processing progress, is stored in a file area corresponding to currently-executed software program in the data file 55, in preparation for investigation into the cause of error and recovery processing upon occurrence of error.

[0036] The respective servers 12 generate a SYSLOG message 60 periodically or upon recording of the trace information, apart from messages communicated for data processing in cooperation with the other servers, and transmit the SYSLOG message 60 to the monitoring terminal 11.

[0037] As shown in FIG. 4, the SYSLOG message 60 comprises a header 61 and an information field 62. The header 61 includes a destination address where the address of the monitoring terminal is set, and a source address where the address of the transmission source server is set. The information field 62 includes a message ID 621 and contents of message 622.

[0038] The message ID 621 comprises a main code indicative of an identifier of an executed software (program) and an additional code indicative of error status. For example, bit information to indicate existence/absence of error, warning indicative of recovery of error by retry processing or the like, is set as the additional code. Further, in the contents of message 622, normally, log information is set, and upon occurrence of error, information on the content of the error is set.

[0039] The SYSLOG message 60 is transmitted onto the LAN by the message transmission program 42, and transferred to the monitoring terminal 11 via the WAN 14. In the following description, a SYSLOG message where a status code indicative of occurrence of error is added as the additional code is especially referred to as an “error notifying message”.

[0040]FIG. 5 shows the structure of an error notifying message management table 30 formed in the data file 51 of the monitoring terminal 11.

[0041] In the error notifying message management table 30, at least one set of resource definition data is registered corresponding to a specific message ID 31, which necessitates acquisition or saving of error analysis information. The message ID 31 is used as an index code in the error notifying message management table 30, corresponding to one of message ID's 621 added to error notifying messages 60. Further, the resource definition data specifies a plurality of resources related to saving operation of error analysis information. The resource definition data includes a data file ID 32 indicative of source files having error analysis information, an output file ID 33 indicative of saving files (memory areas) for error analysis information, and an object server ID 34 indicative of network addresses of servers to perform transfer operation (saving operation) on error analysis information from the source files to the saving files.

[0042] As shown in FIG. 5, in the error notifying message management table 30, plural sets of resource definition data can be registered corresponding to one message ID. That is, in the present invention, to automatically save error analysis information, necessary for investigation into the cause of error, stored in a plurality of sites, a plurality of servers to perform saving operation on error analysis information and input-output files to access for each server can be defined with respect to software program executed by the plurality of servers in cooperation with each other to perform data processing when an error occurs in one server. These table information are registered by an administrator or the like for each of the software products 41, upon configuration of the distributed data processing system.

[0043] Note that in the error notifying message management table 30 in FIG. 5, one data record with the message ID 31 as an index code includes plural sets of resource definition data. However, the table may be arranged such that a plurality of data records having the same message ID (index code) are prepared, and one data record includes one set of resource definition data.

[0044] When the monitoring terminal 11 receives the SYSLOG message 60 from the server 12, it extracts the message ID 621 from the received message by the message receiving program 22, and starts an error notifying message processing program 23.

[0045] As shown in FIG. 6, the error notifying message processing program 23 receives the message ID 621 (step 241), and determines whether or not the received message is a normal SYSLOG message or an error notifying message (step 242).

[0046] If the received message is a normal SYSLOG message, the error notifying message processing program 23 ends. If the received message is an error notifying message, the error notifying message management table 30 is referred to, and it is determined whether or not the message ID 621 corresponds to any one of the message ID's 31 registered in the management table 30 (step 243).

[0047] If there is no message ID corresponding to the message ID 621 in the management table 30, an error message having a display content corresponding to the above message ID 621 is displayed on the display 52 (step 246). The error message may be outputted to the display via the notification general management control program 21.

[0048] If it is determined at step 243 that the message ID 621 corresponds to any one of the message ID's 31 registered in the management table 30, a data record including the corresponding message ID 31 is read from the management table 30 (step 244), and servers designated by the object server ID 34 are instructed to save error analysis information (step 245). Thereafter, the error message corresponding to the above message ID 621 is displayed on the display device 52 (step 246).

[0049] The saving instruction to save error analysis information is attained by forwarding the data record read from the management table 30 to the general management control program 21, then transmitting a control message including an instruction to save error analysis information, the data file ID 32 and the output file ID 33, from the general management control program 21 to the respective servers specified by the object server ID 34. If plural sets of resource definition data are registered in the management table 30 corresponding to the message ID 31, the saving instruction to save error analysis information is issued to a plurality of servers based on the plural sets of resource definition data.

[0050] The respective servers 12 receive the control message from the monitoring terminal 11, and perform the error analysis information saving program 43 as shown in FIG. 7.

[0051] First, the data file ID 32 and the output file ID 33 are received from the received message (step 431), then data existing in a memory area specified by the data file ID 32 is read as error analysis information (step 432), and the data is written into a memory area in the saving file 56 specified by the output file ID 33 (step 433). The error analysis information written into the saving file 56 may be compressed data so as to reduce a necessary memory capacity.

[0052] The respective servers 12 hold the error analysis information in the saving file 56 until the monitoring terminal 11 instruct to delete the information. Further, when the respective servers 12 receive a control message requiring transfer of the error analysis information from the monitoring terminal 11, the respective servers 12 read the error analysis information from the saving file 56, and transfer the information to the monitoring terminal 11. The transfer request message requiring transfer of the error analysis information is generated in execution of a program (not shown) for investigation into cause of error/recovery processing, started in response to a command inputted from the input device 53, by the operator of the monitoring terminal 11 who has seen the error notification outputted on the display 52.

[0053] In the above embodiment, as the index code in the error notifying message management table 30, the message ID 31 comprising the software identifier (main code) and error status code (additional code) is employed, and it is determined whether or not saving of error analysis information is necessary by comparing the index codes with the message ID 621 included in a received message.

[0054] However, if it is arranged such that it is determined whether or not the additional code of the message ID 621 indicates a specific error requiring saving of error analysis information, at the determination step 242 in the error notifying message processing program 23 as shown in FIG. 6, the comparison between the index codes (additional codes) with the message ID 621 using the management table 30 is unnecessary. That is, only the software identifier in place of the message ID may be employed as the index codes 31 in the management table 3, and it may be arranged such that a software identifier set as the main code is extracted from the message ID 621 of each received message, and is compared with the index codes in the management table.

[0055] As it is apparent from the description of the above embodiment, according to the present invention, when an error occurs in one computer (server) in a computer network, a monitoring terminal which has received error notification from the computer automatically issues a saving instruction to computers which are to perform saving operation, and the computers which received the saving instruction automatically save error analysis information into saving files. This arrangement prevents lost of the error analysis information necessary for investigation into the cause of the error.

[0056] Further, according to the present invention, when an error occurs in one computer, the monitoring terminal automatically issues the saving instruction to other computers related to the error. This arrangement is very advantageous especially in a distributed data processing system where a plurality of computers perform data processing in cooperation with each other, for investigation into the cause of error and recovery processing.

[0057] As many apparently widely different embodiments of the present invention can be made without departing from the spirit and scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the appended claims. 

What is claimed is:
 1. A computer network having a monitoring apparatus, comprising: a plurality of servers connected to said monitoring apparatus via a communication network; wherein said plurality of servers respectively have a plurality of software programs, and have a data file for storing error analysis information to be utilized for investigation into a cause of an error upon occurrence of the error, for each software program, and means for transmitting an error notifying message, including an identifier of a software program executed when the error has occurred, to said monitoring apparatus; and wherein said monitoring apparatus has means for instructing at least one server, specified based on the software identifier included in the error notifying message, to save the error analysis information, in response to one error notifying message received from any one of said servers.
 2. A distributed data processing system comprising: a plurality of servers respectively having a function to execute data processing in cooperation with each other via a communication network; and a monitoring terminal apparatus connected to said communication network, wherein said monitoring terminal apparatus has a management table containing a plurality of data records, each having an index code including a software identifier and at least one set of resource definition data defining resources related to saving operation of error analysis information, and wherein when said monitoring terminal apparatus receives an error notifying message including the software identifier from any one of said servers, said monitoring terminal apparatus instructs a server, defined by a data record corresponding to the software identifier as one of the resources, to save the error analysis information.
 3. The distributed data processing system according to claim 2, wherein each set of resource definition data defines a server to perform saving operation on error analysis information, a data file including the error analysis information and an output file where the error analysis information is saved, and wherein said monitoring terminal apparatus designates the data file and the output file defined by the resource definition data, and instructs said server to save the error analysis information.
 4. The distributed data processing system according to claim 2, wherein at least one of the data records stored in said management table includes plural sets of resource definition data corresponding to one index code, and wherein said monitoring terminal apparatus instructs a plurality of servers, defined by the plural sets of resource definition data, to save the error analysis information, in response to reception of one error notifying message.
 5. The distributed data processing system according to claim 2, wherein the index code of each data record stored in said management table includes an additional code accompanying the software identifier, indicative of error type, and wherein the error notifying message transmitted from said server has a message identifier including the software identifier and the additional code indicative of the type of an error detected in said server, further wherein when said monitoring terminal apparatus receives an error notifying message from any one of said servers, said monitoring terminal apparatus searches said management table based on the message identifier of the received message, and instructs saving of the error analysis information if it is determined that a specific type of error has occurred in a specific software program designated in advance in said management table.
 6. A monitoring terminal apparatus connected to a plurality of servers via a communication network, comprising: a management table containing plural sets of resource definition data defining resources related to saving operation of error analysis information corresponding to a plurality of index codes each including a software identifier of a software program executed on each of said servers; means for, when an error notifying message including the software identifier is received from any one of said servers, searching said management table for at least one set of resource definition data corresponding to the software identifier included in the error notifying message; and means for transmitting a control message instructing to save the error analysis information to a server defined by the searched resource definition data as one of the resources.
 7. The monitoring terminal apparatus according to claim 6, wherein each set of resource definition data stored in said management table defines a server to perform saving operation on the error analysis information, a data file having error analysis information and an output file in which the error analysis information is saved, and wherein said transmission means transmits a control message to said server including the data file and output file defined by the resource definition data.
 8. The monitoring terminal apparatus according to claim 7, wherein said management table contains plural sets of resource definition data corresponding to at least one index code, and wherein said transmission means transmits a control message to a plurality of servers, defined by the plural sets of resource definition data, to save the error analysis information, in response to reception of one error notifying message corresponding to the index code.
 9. The monitoring terminal apparatus according to claim 6, wherein the index code stored in said management table includes an error identifier indicative of error type accompanying the software identifier, and wherein said monitoring terminal apparatus receives the error notifying message having a message identifier including the software identifier and an additional code indicative of the error type from said server, and searches said management table based on the message identifier of the received message, whereby saving of the error analysis information is instructed upon occurrence of a specific type of error in a specific software program designated in advance in said management table.
 10. An error analysis information saving method in a distributed data processing system comprising a plurality of servers which perform data processing in cooperation with each other via a communication network and a monitoring terminal apparatus connected to said communication network, wherein said monitoring terminal apparatus has a management table for storing a plurality of data records each comprising an identifier of a software program and at least one set of resource definition data defining resources related to saving operation of error analysis information, said method comprising the steps of: transmitting an error notifying message including the identifier of a software program being executed, from one of said plurality of servers where a software error has been detected during data processing, to said monitoring terminal apparatus; upon reception of the error notifying message, referring to data record corresponding to the software identifier of the error notifying message stored in said management table, by said monitoring terminal apparatus; instructing a server, defined by the referred data record as one of the resources, to save the error analysis information, from said monitoring terminal apparatus; and performing saving operation on the error analysis information by said server instructed to save the information.
 11. The error analysis information saving method according to claim 10, wherein said monitoring terminal apparatus designates a source file and an output file defined by the data record as one of the resources, in response to reception of the error notifying message, and instructs said server to save the error analysis information.
 12. The error analysis information saving method according to claim 10, wherein said monitoring terminal apparatus refers to a plurality of data records corresponding to the software identifier of the error notifying message stored in said management table, in response to reception of the error notifying message, and wherein monitoring terminal apparatus instructs a plurality of servers, defined by the referred plural data records, to save the error analysis information. 